package stack.era.domain.crime;

import stack.era.constants.CrimeAttributes.CrimeType;
import stack.era.domain.DomainObject;
import stack.era.domain.town.Town;

public abstract class Crime extends DomainObject {

	private static final long serialVersionUID = -5639474051947447834L;
	
	private Town sourceTown;
	
	/**
	 * Create a default crime object committed in the given town.
	 * 
	 * @param newID
	 * @param newName
	 * @param sourceTown
	 */
	public Crime(String newName, Town sourceTown) {
		super(newName);
		
		this.sourceTown = sourceTown;
	}
	
	public abstract CrimeType getType();

}
